package com.jluzh10.learning.service;

import com.jluzh10.learning.domain.Answer;

import java.util.List;

/**
 * @author cj
 * @date 5/25/2019
 */
public interface AnswerService {

    public int addAnswer(Answer answer);

    /**
       查询问题的所有回答和回答的所有回复
     */
    public List<Answer> searchAnswersService(Integer questionId);
}
